<?php
//inculde即可以使用data数据。本页所有的data数据，倾在controller都处理好
include_once("../../../common/module/checkA.php");
include_once("../../../../config.php");
//引入所有子系统信息
include_once("../../../common/model/extender_import.php");

?>


<?
$table_name="employee";
include_once("detail-function.php");
?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <? include_once(ROOT_PATH_ . "/controller/common/module/head.php"); ?>

</head>

<body>

<div id="topbar">
    <?php include ROOT_PATH_ . '/controller/common/module/topbar.php'; ?>
</div>

<div id="container" class="<? echo $system_part ?>">

    <div id="maincontent">

        <div id="sidebar">
            <?php include ROOT_PATH_ . '/controller/common/module/sidebar.php'; ?>
        </div>


        <div id="content" class="layui-form">
            <h1> 个人中心 </h1>


            <div class="detail-box user-edit-box layui-form">

                <div class="detail-boxes">

                    <div class="statistic-box layui-form">

                        <div class="layui-tab">
                            <ul class="layui-tab-title">
                                <!---->
                                <!--                <li><a href="detail-edit.php?nav-itemed=user&nid=-->
                                <? //echo $_SESSION['nid'];?><!--" >用户资料</a></li>-->
                                <li class="layui-this"> 修改密码</li>
                            </ul>
                            <!--            <div class="layui-tab-content">-->
                            <!--                <div class="layui-tab-item layui-show statistic-department-info"> -->
                            <? // include 'statistic-department-info.php';?><!--  </div>-->
                            <!---->
                            <!--            </div>-->
                        </div>


                        <Style>
                            #reset-pw-form .layui-form-label {
                                width: 130px;
                            }

                            #reset-pw-form .layui-input-block {
                                margin-left: 170px;
                            }

                            #reset-pw-form .function {
                                /*position: inherit;*/
                                margin-left: 170px;
                            }
                        </Style>


                        <form id="reset-pw-form" method="post" action="detail-edit-function.php?nav-itemed=user"
                              enctype="multipart/form-data" class="layui-form">


                            <input type="hidden" name="nid" value="<? echo $detail['nid'] ?>">


                            <div class="layui-form-item">
                                <label class="layui-form-label">登陆账号</label>
                                <div class="layui-input-block" >
                                    <input class="layui-input" disabled value="<? echo $detail['mid'] ?>"/>
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">原密码</label>
                                <div class="layui-input-block">
                                    <input type="password" name="root_password" required lay-verify="required"
                                           placeholder="请输入原密码" autocomplete="off" class="layui-input" value="">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">新密码</label>
                                <div class="layui-input-block">
                                    <input type="password" name="new_password" required lay-verify="required"
                                           placeholder="请输入新密码" autocomplete="off" class="layui-input" value="">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">再次输入新密码</label>
                                <div class="layui-input-block">
                                    <input type="password" name="renew_password" required lay-verify="required"
                                           placeholder="请再次输入新密码" autocomplete="off" class="layui-input" value="">
                                </div>
                            </div>


                            <div class="function">
                                <button class="layui-btn">确定</button>
                                <button type="reset" class="layui-btn">重置</button>
                            </div>
                        </form>


                    </div>
                </div>

                <!--content端點01-->
            </div>
            <!--maincontent端點01-->
            <br class="clearfloat"/>
        </div>
        <!--container端點01-->
    </div>


    <?php include ROOT_PATH_ . "/controller/common/module/footer.php"; ?>
</body>
</html>
